import request from '@/utils/request'

export function createVipType(data){
    return request({
        url:'/vip/addVipTemplate',
        method:'post',
        data:data
    })
}

export function updateVipType(data){
    return request({
        url:'/vip/updateVipTemplate',
        method:'post',
        data:data
    })
}

export function deleteVipType(data){
    return request({
        url:'/vip/delVipTemplate',
        method:'post',
        data:data
    })
}

export function findVipTypeList(data){
    return request({
        url:'/vip/selectVipList',
        method:'post',
        data:data
    })
}

export function findVipTypeOne(data){
    return request({
        url:'/vip/selectVip',
        method:'post',
        data:data
    })
}

export function findVipDeclareList(data){
    return request({
        url:'/vip/selectMyVip',
        method:'post',
        data:data
    })
}

export function findVipDeclareOne(data){
    return request({
        url:'/award/selectOneAwardDeclare',
        method:'post',
        data:data
    })
}

export function findMyVipDeclareList(data){
    return request({
        url:'/vip/selectMyVip',
        method:'post',
        data:data
    })
}

export function auditVipDeclare(data){
    return request({
        url:'/award/awardApproval',
        method:'post',
        data:data
    })
}

export function updateVipDeclare(data){
    return request({
        url:'/award/updateAwardDeclare',
        method:'post',
        data:data
    })
}

export function payVip(data){
    return request({
        url:'/vip/vipPay',
        method:'post',
        data:data
    })
}

export function findPayLog(data){
    return request({
        url:'/activity/payResult',
        method:'post',
        data:data
    })
}


